Eplan Platform API
Eplan.EplApi.DataModel Namespace / MergedFunction Class / Create Method / Create(Function[]) Method

In This Topic
    Create(Function[]) Method
    In This Topic
    Initializes the MergedFunction object to cover the functions passed in the array parameter. If the functions cannot be merged together into one merged function an exception is thrown. Functions, generally, cannot be merged together if they belong to different devices or they are of different categories. To be merged, they have to represent the same functional part of the device.
    Syntax
    public void Create( 
       Function[] functions
    )
    public:
    void Create( 
       array<Function^>^ functions
    ) 

    Parameters

    functions
    Exceptions
    ExceptionDescription
    Thrown when functions is null, emty.
    Thrown when some function is not valid.
    Thrown when the functions can not be merged.
    Thrown when the merged function has already been created.
    Remarks
    Functions with empty names are unmergable. Only functions with specific placement types can be merged. Placement types of mergable functions are returned by DocumentTypeManager.GetFctDocTypesToMerge() method
    See Also